package com.seckill.product.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.common.utils.PageUtils;
import com.bwie.common.utils.Query;

import com.seckill.product.dao.OrderSurfaceDao;
import com.seckill.product.entity.OrderSurfaceEntity;
import com.seckill.product.service.OrderSurfaceService;


@Service("orderSurfaceService")
public class OrderSurfaceServiceImpl extends ServiceImpl<OrderSurfaceDao, OrderSurfaceEntity> implements OrderSurfaceService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OrderSurfaceEntity> page = this.page(
                new Query<OrderSurfaceEntity>().getPage(params),
                new QueryWrapper<OrderSurfaceEntity>()
        );

        return new PageUtils(page);
    }

}